Content Type Ovf VmTemplate

Content Type Ovf VmTemplate
Content Type Ovf VmTemplate

Provide template VM information in an OVF template (see OvfTemplate#type). The template VM provide the information about the operation system, CPU, memory, disks and NICs.

JSON Example
{
    "vm_name": "string",
    "os_type": "string",
    "os_description": "string",
    "cpu": {
        "num_cpus": 0,
        "reservation": 0,
        "limit": 0,
        "shares": 0
    },
    "memory": {
        "size": 0,
        "reservation": 0,
        "limit": 0,
        "shares": 0
    },
    "disks": [
        {
            "name": "string",
            "disk_capacity": 0,
            "storage_policy": {
                "group_id": "string"
            }
        }
    ],
    "nics": [
        {
            "name": "string",
            "network_name": "string",
            "mac_address": "string",
            "start_connected": false
        }
    ],
    "video_cards": [
        {
            "render_type": "string",
            "video_ram_size": 0,
            "graphics_memory_size": 0,
            "enable3d": false,
            "num_displays": 0,
            "use_auto_detect": false
        }
    ],
    "drives": [
        {
            "name": "string",
            "type": "string",
            "sub_type": "string"
        }
    ],
    "floppies": [
        {
            "name": "string",
            "connected": false,
            "type": "string"
        }
    ],
    "disk_controllers": [
        {
            "name": "string",
            "type": "string",
            "sub_type": "string"
        }
    ],
    "usb_controllers": [
        {
            "type": "string",
            "auto_connect": false,
            "ehci_pci_slot_number": 0,
            "pci_slot_number": 0
        }
    ],
    "storage_policies": [
        {
            "group_id": "string"
        }
    ]
}
string
vm_name
Required

Name of the VM

string
os_type
Optional

OS type of the VM

A VM template is not required to specify an OS.

string
os_description
Optional

OS description

A VM template is not required to specify an OS.

cpu
Optional

CPU information of the VM

A VM template is not required to specify a CPU.

memory
Optional

memory information of the VM

A VM template is not required to specify memory.

disks
Optional

All hard disks on the VM

A VM template is not required to specify a list of disks.

nics
Optional

All NICs on the VM

A VM template is not required to specify a list of network interfaces.

video_cards
Optional

Video cards of the VM

A VM template is not required to specify a list of video cards.

drives
Optional

CD / DVD drives of the VM

A VM template is not required to specify a list of drives.

floppies
Optional

floppy drives of the VM

A VM template is not required to specify a list of floppy drives.

disk_controllers
Optional

Disk Controllers

A VM template is not required to specify a list of disk controllers.

usb_controllers
Optional

USB Controllers

A VM template is not required to specify a list of USB controllers.

storage_policies
Optional

Storage policies of the VM.

A VM template is not required to specify a list of storage policies.